﻿using System.Collections.ObjectModel;

namespace TemperatureWP.Model
{
    public class IntervalModel
    {
        public int Interval { get; set; }
        public string Text { get; set; }
    }

    public static class InitIntervalModelCollection
    {
        public static ObservableCollection<IntervalModel> Initialize()
        {
            return new ObservableCollection<IntervalModel>
            {
                new IntervalModel {Text = "Last 10 measurements", Interval = 0},
                new IntervalModel {Text = "1 week", Interval = 7},
                new IntervalModel {Text = "2 weeks", Interval = 14},
                new IntervalModel {Text = "1 month", Interval = 60},
            };
        }
    }
}
